package com.dlc.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dlc.shop.bean.model.OrderRefundIntervention;
import com.dlc.shop.bean.vo.OrderRefundInterventionVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订单退款介入记录
 *
 * @author LGH
 * @date 2023-10-26 15:52:39
 */
public interface OrderRefundInterventionMapper extends BaseMapper<OrderRefundIntervention> {

    /**
     * 根据退款id获取退款介入记录
     * @param refundId
     * @return
     */
    List<OrderRefundInterventionVO> listByRefundId(@Param("refundId") Long refundId);

}
